-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build(#10336): Storybook & Chromatic & msw #10365
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #10365 +/- ##
========================================
Coverage 75.23% 75.24%
========================================
Files 883 883
Lines 86686 86716 +30
Branches 5903 5907 +4
========================================
+ Hits 65219 65249 +30
Misses 21467 21467
... and 1 file with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
現時点ではこのファイルに書いてあるコマンドでストーリーを生成してから pnpm storybook dev
して Storybook の画面を開くことができる
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[vite] Internal server error: Failed to resolve import "../node_modules/storybook-addon-misskey-theme/preview" from "..\..\..\..\..\..\virtual:\@storybook\builder-vite\vite-app.js". Does the file exist?
が出た
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI は回ってるし謎
あとで調査します
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Windows 環境で再現した
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@syuilo 多分直った
9525989
to
59865c3
Compare
とりあえずこの PR でやっておきたいことは完全に終わった(のでレビューお願いします) |
@@ -77,7 +77,7 @@ async function renderChart() { | |||
barPercentage: 0.7, | |||
categoryPercentage: 0.7, | |||
fill: true, | |||
} satisfies ChartDataset, extra); | |||
}, extra); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
satisfies使えないの悲しいわね
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
コメントでsatisfies使いたいけど使えない旨を残しておいてもらえると助かる
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done @ b91d831
🙏🏻🙏🏻🙏🏻 |
#10336 セットアップ作業用ブランチ
実行方法
Universal
Setup
Run
macOS & Linux
Setup
cd path/to/packages/misskey-js pnpm build
Run
cd path/to/packages/frontend pnpm storybook-dev